package cn.fun.spring4.chapter3.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhangxf
 * @title BbsDemo
 * @date 2018/2/28
 * @description
 */
@RestController
public class BbsDemo {

    @RequestMapping("/")
    public String index(){
        return "欢迎来到开心论坛";
    }

}
